package com.stx.jeepay.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.stx.jeepay.core.entity.SysRoleEntity;


import java.util.List;
import java.util.Map;

/**
 * 系统角色表
 *
 * @author suntingxing
 * @email 1@gmail.com
 * @date 2023-09-11 13:05:22
 */
public interface SysRoleService extends IService<SysRoleEntity> {

    /**
     * 根据用户查询全部角色集合
     * @param sysUserId
     * @return
     */
    List<String> findListByUser(Long sysUserId);

    /**
     * 移除权限
     */
    void removeRole(String roleId);
}

